package com.ipcoder.tcp通信程序第七题;

import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.nio.Buffer;


public class ClientTcpFile {
    public static void main(String[] args) throws IOException {
        //建立套接字
        ServerSocket ss=new ServerSocket(10002);
        Socket sk=ss.accept();
        //建立输入流
        BufferedReader br=new BufferedReader(new InputStreamReader(sk.getInputStream()));
        //建立输出流
        BufferedWriter bw=new BufferedWriter(new FileWriter("",true));
        //读取文件中的数据并输出

        //关闭对象



    }
}
